<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{$kwRs.keyword}{if input('page') neq 1 and !empty(input('page'))} - {:lang('v_current')}{:input('page')}{:lang('v_page')}{/if} - {$siteRs.company}</title>
<meta name="keywords" content="{$kwRs.keyword}" />
<link rel="shortcut icon" type="image/x-icon" href="{$siteRs.ico}" />
{include file="public/css" /}
<style type="text/css">
    .text-purple{color: #605ab0!important;}
</style>
<?php
    $lang_pre = '';
    if(empty(config('global.url.bind_lang'))){
        $lang_pre = '/'.$lang;
    }
?>
</head>
<body>
{include file="public/head" /}
<!--面包屑 开始-->
<div class="w-100 page-banner text-center text-white h3 mb-0" style="background:url({$page_banner}) center center no-repeat;">
    {:lang('v_sitemap')}
</div>
<div class="w-100 bg-light py-2">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <a href="{$home_path}" class="mr-2">{:lang('v_home')}</a> <i class="fa fa-angle-right"></i>
                <a href="{:url('site/map')}" class="mx-2">{:lang('v_sitemap')}</a><i class="fa fa-angle-right"></i>
                <a href="{$lang_pre}/tags/{$kwRs.urlroute}/" class="ml-2"><h1 class="h7 d-inline-block">{$kwRs.keyword}</h1></a>
            </div>
        </div>
    </div>
</div>
<!--面包屑 结束-->
<!--主体 开始-->
<div class="container mt-4">
    <div class="row">
        <!--列表 开始-->
        <div class="col-md-9 mb-sm-4">
            <div class="page-right px-4">
                {empty name="list"}
                    <div class="col-md-12 py-3">
                        <div class="w-100 h5 text-center">{:lang('v_nodata')}</div>
                    </div>
                {else /}
                    {volist name="list" id="rs"}
                        <div class="row">
                            <div class="col-md-2 col-sm-5"><a href="{$rs.url}"><img class="w-100 rounded" src="{$rs.thumb}" alt="{$rs.title}" onerror="this.src='/skin/admin/img/nopic.png'"></a></div>
                            <div class="col-md-10 col-sm-7">
                                <h5 class="mb-2 ellipsis line-1"><strong><a href="{$rs.url}" {notempty name="rs.color"}style="color:{$rs.color}"{/notempty}>{$rs.title|raw}</a></strong></h5>
                                <p class="text-muted my-2 ellipsis line-3">{$rs.description|raw}</p>
                                <p class="text-muted mb-0">
                                    <span class="float-left">
                                        <i class="fa fa-cubes mr-1"></i>{:lang('v_sort')}：{$rs.sort_title}
                                        <i class="far fa-clock ml-2 mr-1"></i>{:lang('v_date')}：{$rs.addtime|date='Y-m-d'}
                                        <i class="fa fa-eye ml-2 mr-1"></i> {:lang('v_hits')}：{$rs.hits}
                                    </span>
                                    <span class="float-right">
                                        <a href="{$rs.url}" class="btn btn-sm btn-rounded btn-light px-3">{:lang('v_view')} &raquo;</a>
                                    </span>
                                </p>
                                <div class="clearfix"></div>
                            </div>
                        </div><hr>
                    {/volist}
                    <!--分页-->
                    <div class="row mt-4">
                        <div class="col-md-4 col-sm-12">{:lang('v_total')} {$last_page} {:lang('v_page')} {$total} {:lang('v_records')}</div>
                        <div class="col-md-8 col-sm-12">
                            <div class="pages float-right">{$list->render()|raw}</div>
                        </div>
                    </div>
                {/empty}
            </div>
        </div>
        <!--列表 结束-->
        <!--侧边栏 开始-->
        <div class="col-md-3 d-none d-md-block">
            <div class="page-right px-2">
                <!--分类 开始-->
                <div class="col-12 clearfix h6 mb-3">
                    <i class="fa fa-tag mr-2"></i>{:lang('v_sitemap')}
                </div>
                <div class="col-12 px-1 mt-2 clearfix"><hr class="mb-3"></div>
                <div class="w-100 px-2">
                    {volist name="tagCloud" id="tagRs"}
                        <a class="mr-2 mb-2 d-inline-block" href="{$lang_pre}/tags/{$tagRs[0]}/">{$tagRs[1]}<i>（{$tagRs[2]}）</i></a>
                    {/volist}
                </div>
                <!--分类 结束-->
            </div>
        </div>
        <!--侧边栏 结束-->
    </div>
</div>
{include file="public/foot" /}
</body>
</html>